package com.yfj.dao;


import org.apache.ibatis.annotations.Param;

import java.util.Set;

public interface ShiroDao {

    //用于CustomReal里的认证,id--->username
    String getPassWordByUserName(String id);

    Set<String> getRolesByUserName(String username);

    Set<String> getPermissionsByUserName(String username);

    void updatePassWordByUserName(@Param("id")String id,@Param("identity")String identity, @Param("password")String password);
}
